package org.tlipoca.smarticle.client;

import org.genntii.smcommon.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("sm-comment")
public interface CommentClient {
    @GetMapping("/comment/commentCount")
    Result<Integer> getCommentCount(@RequestParam("articleId") Long articleId);
}
